const EnvContext = require('../../common/context/EnvContext');

exports.doHideTrayWin = function () {
    const wins = EnvContext.getInstance().getTrayWindows()
    Object.values(wins).map((win) => {
        if (!win.isDestroyed() && win != null) {
            if (win.isVisible()) {
                win.hide()
            }
        }
    })
}



